<?php

header("content-type:text/html;charset=utf-8;");

$a = $_GET["a"];
$b = $_GET["b"];

$arr = array(
  "a"=>$a,
  "b"=>$b
);

$jsonData = json_encode($arr);

echo $jsonData;
?>